Use JavaScript scripts to program the logic and look of your application right in Kanzi Studio.
In your Kanzi Studio project scripts are stored in the Library > Resource Files > Scripts, and on the hard drive in the <ProjectName>/Scripts directory.
Note that when you change a node using a script, you change it in Kanzi Engine, which means that the changed state is not synchronized in Kanzi Studio. For example, if you use a script to disable the visibility of a node, that node is not visible in the Preview, but the node's Visible property still appears in the Properties as enabled.
The JavaScript scripting functionality is available only on Windows. If you want to use JavaScript scripting functionality on your target platform, contact Rightware sales at sales@rightware.com.
To add a JavaScript script to a node:
In the Execute Script window select an existing script, or select <Add new script...> to create a new script.
The Script Editor window opens.
Hello Kanzi!
to the Log window.print('Hello Kanzi');